﻿using System;
using System.Collections.Generic; 
using System.Text;
using ATSModel;
using ATSIDAL;

namespace ATSBLL
{
   public class AirtightnessConfig : BaseService<AirtightnessConfigInfo>
    {
       private static readonly IAirtightnessConfig dal = DALFactory.DataAccess.CreateAirtightnessConfig();
        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<AirtightnessConfigInfo> Airtightness_GetbyPID(string productTypeID)
        {
            return dal.Airtightness_GetbyPID(productTypeID);
        }

        public AirtightnessConfigInfo Airtightness_GetbyPIDCHNO(string productTypeID, int channelNO)
        {
            return dal.Airtightness_GetbyPIDCHNO(productTypeID, channelNO);
        }
    }
}
